<?php
include $_SERVER['DOCUMENT_ROOT'] . '/paths.php';
include $COMPONENT_SITE;
  
$jumbo = '
<h1 class="nocount">OpenGL Beginner Course</h1>
';
  
$sidebar = '
<div id="sidebar">
  <div class="list-group">
            
    <a class="list-group-item" href="1">
      1 - Creating a Window
    </a>
  </div>
</div>
';

$content = '
<div class="panel panel-default">
  <div class="panel-heading">
    <h3 class="panel-title nocount">Tutorial 1 - Creating a Window</h3>
  </div>
  <div class="panel-body">
    <div class="row">
      <div class="col-md-4">
        <img src="' . $PATH_IMAGES . '/OpenGLBeginner1Result.png" 
           width="100%">
      </div>
      <div class="col-md-8">
        In this tutorial I will introduce you into the basics of GLFW and how to
        write and build a basic OpenGL program. Afterwards you will be able to
        create a window and a valid OpenGL rendering context.
      </div>
  </div>
</div>
  ';


echo '<!DOCTYPE html><html>';

echo getDefaultHeader("Graphiclicious - OpenGL Beginner Course");

echo getDefaultBody(1, $jumbo, $sidebar, $content);

echo '</html>';

echo getDefaultAffixScript();
?>